<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>评论管理 </title>
<@fm.header />
<link rel="stylesheet" type="text/css" href="/resources/css/uploadify/uploadify.css">
<script type="text/javascript" src="/resources/js/common.js"></script>
<script type="text/javascript" src="/resources/js/comment/comment.js"></script>
</head>
<body class="cmp-list-body">

<div id="tb" style="padding:3px">
    <span>关键字</span>
	<input id="smark" class="easyui-textbox" style="width: 155px;"/>
	<span>评论</span>
	<input id="scomment" class="easyui-textbox" style="width: 155px;"/>
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doAdd();">新增</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="doEdit();">修改</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="doDel();">删除</a>
    <form id="uploadForm" method="post" enctype="multipart/form-data">
	<span>Excel导入</span><input type="file" name="excelFile" id="excelFile"></input>
    <a href="#" class="easyui-linkbutton" iconCls="icon-import" plain="true" onclick="doImport();">导入</a>
	</form>
</div>
<table id="tt" title="评论管理 " 
	 toolbar="#tb" rownumbers="true" idField="id"
	singleSelect="false" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">  
    <thead>
        <tr>
         	<th align="center" field="id" checkBox="true"></th>
            <th align="center" width="20%" field="mark">mark</th>
            <th align="center" width="20%" field="apkName">apk名称</th>
		    <th align="center" width="25%" field="comment">评论</th>
		    <th align="center" width="5%" field="used" formatter="formatUsed">是否已用</th>
		    <th align="center" width="8%" field="createTime">创建时间</th>
		    <th align="center" width="8%" field="modifyTime">修改时间</th>
        </tr>
    </thead>   
</table>

<div id="addWin" class="easyui-window" title="评论管理|新增修改" closed="true" collapsible="false" minimizable="false"  maximizable="false" style="width:500px;height:450px"   
        data-options="iconCls:'icon-save',modal:true">
     <div fit="true">
        <form id="addForm"  method="post" >
            <input type="hidden" id="idId"  name="id" />   
            <table>
		        <tr>
		             <td align="left">mark</td>
		             <td><input id="mark" class="easyui-validatebox" data-options="required:true"  name="mark" style="width:300px"></input></td>
		        </tr>	
		        <tr>
		             <td align="left">评论</td>
		             <td><input id="comment" class="easyui-validatebox" data-options="required:true"  name="comment" style="width:300px"></input></td>
		        </tr>	
           </table>
        </form>
        <div style="padding: 25px; text-align: center;">
            <a href="#" class="easyui-linkbutton" onclick="cancel();">取消</a>
            <a href="#" class="easyui-linkbutton"  onclick="save();">保存</a> 
        </div>
    </div>
</div>

</body>
</html>